package com.thymeleaf.demo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author sunny
 * @since 2020-12-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Shopcar implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "car_id", type = IdType.AUTO)
    private Integer carId;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 规格id
     */
    private Integer formatId;

    /**
     * 购买数量
     */
    private Integer buyNum;

    /**
     * 创建时间
     */
    private Integer createtime;

    /**
     * 更新时间
     */
    private Integer updatetime;

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 1代表正常购物车，2代表已下订单
     */
    private Boolean status;


}
